﻿<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
      <title>Unity.Mathematics 命名空间
 | Fantasy.Net API Reference </title>
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <meta name="title" content="Unity.Mathematics 命名空间
 | Fantasy.Net API Reference ">
      
      <link rel="icon" href="../favicon.ico">
      <link rel="stylesheet" href="../public/docfx.min.css">
      <link rel="stylesheet" href="../public/main.css">
      <meta name="docfx:navrel" content="../toc.html">
      <meta name="docfx:tocrel" content="toc.html">
      
      <meta name="docfx:rel" content="../">
      
      
      
  </head>

  <script type="module">
    import options from './../public/main.js'
    import { init } from './../public/docfx.min.js'
    init(options)
  </script>

  <script>
    const theme = localStorage.getItem('theme') || 'auto'
    document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
  </script>

  <body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
    <header class="bg-body border-bottom">
      <nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
        <div class="container-xxl flex-nowrap">
          <a class="navbar-brand" href="../index.html">
            <img id="logo" class="svg" src="../logo.svg" alt="Fantasy.Net">
            Fantasy.Net
          </a>
          <button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
            <i class="bi bi-three-dots"></i>
          </button>
          <div class="collapse navbar-collapse" id="navpanel">
            <div id="navbar">
              <form class="search" role="search" id="search">
                <i class="bi bi-search"></i>
                <input class="form-control" id="search-query" type="search" disabled="" placeholder="搜索" autocomplete="off" aria-label="Search">
              </form>
            </div>
          </div>
        </div>
      </nav>
    </header>

    <main class="container-xxl">
      <div class="toc-offcanvas">
        <div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
          <div class="offcanvas-header">
            <h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
            <button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
          </div>
          <div class="offcanvas-body">
            <nav class="toc" id="toc"></nav>
          </div>
        </div>
      </div>

      <div class="content">
        <div class="actionbar">
          <button class="btn btn-lg border-0 d-md-none" style="margin-top: -.65em; margin-left: -.8em" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
            <i class="bi bi-list"></i>
          </button>

          <nav id="breadcrumb"></nav>
        </div>

        <article data-uid="Unity.Mathematics">

  <h1 id="Unity_Mathematics" data-uid="Unity.Mathematics" class="text-break">Unity.Mathematics 命名空间
</h1>
  <div class="markdown level0 summary"></div>
  <div class="markdown level0 conceptual"></div>
  <div class="markdown level0 remarks"></div>

    <h3 id="classes">
类
</h3>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.math.html">math</a></dt>
      <dd><p>A static class to contain various math functions and constants.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.noise.html">noise</a></dt>
      <dd><p>A static class containing noise functions.</p>
</dd>
    </dl>
    <h3 id="structs">
结构
</h3>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.AffineTransform.html">AffineTransform</a></dt>
      <dd><p>An affine transformation type.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.Random.html">Random</a></dt>
      <dd><p>Random Number Generator based on xorshift.
Designed for minimal state (32bits) to be easily embeddable into components.
Core functionality is integer multiplication free to improve vectorization
on less capable SIMD instruction sets.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.RigidTransform.html">RigidTransform</a></dt>
      <dd><p>A rigid transformation type.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.bool2.html">bool2</a></dt>
      <dd><p>A 2 component vector of bools.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.bool2x2.html">bool2x2</a></dt>
      <dd><p>A 2x2 matrix of bools.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.bool2x3.html">bool2x3</a></dt>
      <dd><p>A 2x3 matrix of bools.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.bool2x4.html">bool2x4</a></dt>
      <dd><p>A 2x4 matrix of bools.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.bool3.html">bool3</a></dt>
      <dd><p>A 3 component vector of bools.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.bool3x2.html">bool3x2</a></dt>
      <dd><p>A 3x2 matrix of bools.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.bool3x3.html">bool3x3</a></dt>
      <dd><p>A 3x3 matrix of bools.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.bool3x4.html">bool3x4</a></dt>
      <dd><p>A 3x4 matrix of bools.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.bool4.html">bool4</a></dt>
      <dd><p>A 4 component vector of bools.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.bool4x2.html">bool4x2</a></dt>
      <dd><p>A 4x2 matrix of bools.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.bool4x3.html">bool4x3</a></dt>
      <dd><p>A 4x3 matrix of bools.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
      <dd><p>A 4x4 matrix of bools.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.double2.html">double2</a></dt>
      <dd><p>A 2 component vector of doubles.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.double2x2.html">double2x2</a></dt>
      <dd><p>A 2x2 matrix of doubles.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.double2x3.html">double2x3</a></dt>
      <dd><p>A 2x3 matrix of doubles.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.double2x4.html">double2x4</a></dt>
      <dd><p>A 2x4 matrix of doubles.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.double3.html">double3</a></dt>
      <dd><p>A 3 component vector of doubles.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.double3x2.html">double3x2</a></dt>
      <dd><p>A 3x2 matrix of doubles.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.double3x3.html">double3x3</a></dt>
      <dd><p>A 3x3 matrix of doubles.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.double3x4.html">double3x4</a></dt>
      <dd><p>A 3x4 matrix of doubles.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.double4.html">double4</a></dt>
      <dd><p>A 4 component vector of doubles.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.double4x2.html">double4x2</a></dt>
      <dd><p>A 4x2 matrix of doubles.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.double4x3.html">double4x3</a></dt>
      <dd><p>A 4x3 matrix of doubles.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.double4x4.html">double4x4</a></dt>
      <dd><p>A 4x4 matrix of doubles.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.float2.html">float2</a></dt>
      <dd><p>A 2 component vector of floats.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.float2x2.html">float2x2</a></dt>
      <dd><p>A 2x2 matrix of floats.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.float2x3.html">float2x3</a></dt>
      <dd><p>A 2x3 matrix of floats.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.float2x4.html">float2x4</a></dt>
      <dd><p>A 2x4 matrix of floats.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.float3.html">float3</a></dt>
      <dd><p>A 3 component vector of floats.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.float3x2.html">float3x2</a></dt>
      <dd><p>A 3x2 matrix of floats.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.float3x3.html">float3x3</a></dt>
      <dd><p>A 3x3 matrix of floats.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.float3x4.html">float3x4</a></dt>
      <dd><p>A 3x4 matrix of floats.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.float4.html">float4</a></dt>
      <dd><p>A 4 component vector of floats.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.float4x2.html">float4x2</a></dt>
      <dd><p>A 4x2 matrix of floats.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.float4x3.html">float4x3</a></dt>
      <dd><p>A 4x3 matrix of floats.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.float4x4.html">float4x4</a></dt>
      <dd><p>A 4x4 matrix of floats.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.half.html">half</a></dt>
      <dd><p>A half precision float that uses 16 bits instead of 32 bits.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.half2.html">half2</a></dt>
      <dd><p>A 2 component vector of halfs.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.half3.html">half3</a></dt>
      <dd><p>A 3 component vector of halfs.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.half4.html">half4</a></dt>
      <dd><p>A 4 component vector of halfs.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.int2.html">int2</a></dt>
      <dd><p>A 2 component vector of ints.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.int2x2.html">int2x2</a></dt>
      <dd><p>A 2x2 matrix of ints.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.int2x3.html">int2x3</a></dt>
      <dd><p>A 2x3 matrix of ints.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.int2x4.html">int2x4</a></dt>
      <dd><p>A 2x4 matrix of ints.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.int3.html">int3</a></dt>
      <dd><p>A 3 component vector of ints.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.int3x2.html">int3x2</a></dt>
      <dd><p>A 3x2 matrix of ints.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.int3x3.html">int3x3</a></dt>
      <dd><p>A 3x3 matrix of ints.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.int3x4.html">int3x4</a></dt>
      <dd><p>A 3x4 matrix of ints.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.int4.html">int4</a></dt>
      <dd><p>A 4 component vector of ints.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.int4x2.html">int4x2</a></dt>
      <dd><p>A 4x2 matrix of ints.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.int4x3.html">int4x3</a></dt>
      <dd><p>A 4x3 matrix of ints.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.int4x4.html">int4x4</a></dt>
      <dd><p>A 4x4 matrix of ints.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.quaternion.html">quaternion</a></dt>
      <dd><p>A quaternion type for representing rotations.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.uint2.html">uint2</a></dt>
      <dd><p>A 2 component vector of uints.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.uint2x2.html">uint2x2</a></dt>
      <dd><p>A 2x2 matrix of uints.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.uint2x3.html">uint2x3</a></dt>
      <dd><p>A 2x3 matrix of uints.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.uint2x4.html">uint2x4</a></dt>
      <dd><p>A 2x4 matrix of uints.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.uint3.html">uint3</a></dt>
      <dd><p>A 3 component vector of uints.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.uint3x2.html">uint3x2</a></dt>
      <dd><p>A 3x2 matrix of uints.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.uint3x3.html">uint3x3</a></dt>
      <dd><p>A 3x3 matrix of uints.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.uint3x4.html">uint3x4</a></dt>
      <dd><p>A 3x4 matrix of uints.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.uint4.html">uint4</a></dt>
      <dd><p>A 4 component vector of uints.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.uint4x2.html">uint4x2</a></dt>
      <dd><p>A 4x2 matrix of uints.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.uint4x3.html">uint4x3</a></dt>
      <dd><p>A 4x3 matrix of uints.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.uint4x4.html">uint4x4</a></dt>
      <dd><p>A 4x4 matrix of uints.</p>
</dd>
    </dl>
    <h3 id="enums">
枚举
</h3>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.math.RotationOrder.html">math.RotationOrder</a></dt>
      <dd><p>Extrinsic rotation order. Specifies in which order rotations around the principal axes (x, y and z) are to be applied.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="Unity.Mathematics.math.ShuffleComponent.html">math.ShuffleComponent</a></dt>
      <dd><p>Specifies a shuffle component.</p>
</dd>
    </dl>


</article>


        
      </div>

      <div class="affix">
        <nav id="affix"></nav>
      </div>
    </main>

    <div class="container-xxl search-results" id="search-results"></div>

    <footer class="border-top">
      <div class="container-xxl">
        <div class="flex-fill">
          <span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
        </div>
      </div>
    </footer>
  </body>
</html>